package com.zzyl.nursing.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 护理任务对象 nursing_task
 * 
 * @author ruoyi
 * @date 2024-09-27
 */
@Data
public class NursingTaskDto extends BaseEntity
{
    private static final long serialVersionUID = 1L;





    /** 护理员id */
    @Excel(name = "护理员id")
    private String nurseId;

    /** 项目id */
    @Excel(name = "项目id")
    private Long projectId;

    /** 护理项目名称 */
    @Excel(name = "护理项目名称")
    private String projectName;


    /** 老人姓名 */
    @Excel(name = "老人姓名")
    private String elderName;





    /** 状态  1待执行 2已执行 3已关闭  */
    @Excel(name = "状态  1待执行 2已执行 3已关闭 ")
    private Integer status;


    /** 开始时间 */
    @Excel(name = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    private LocalDateTime startTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    private LocalDateTime endTime;

}
